package com.aop.xml;

import org.springframework.stereotype.Component;

public class ComputerImpl implements Computer {

	public void test() {
		System.out.println("ComputerImpl.test()");
	}
	
	@Override
	public int add(int a, int b) {
		int sult = a + b;
		return sult;
	}

	@Override
	public int jian(int a, int b) {
		int sult = a - b;
		return sult;
	}

	@Override
	public int cheng(int a, int b) {
		int sult = a * b;
		return sult;
	}

	@Override
	public int chu(int a, int b) {
		int sult = a / b;
		return sult;
	}

}
